'Declaration
Public Overloads Function AddFromCells(Of T As {New, Series})( _ ByVal startRowId As Integer, _ ByVal startColumnId As Integer, _ ByVal endRowId As Integer, _ ByVal endColumnId As Integer, _ Optional ByVal relatedWorksheet As Worksheet _ ) As T
'Usage
Dim instance As SeriesCollection Dim startRowId As Integer Dim startColumnId As Integer Dim endRowId As Integer Dim endColumnId As Integer Dim relatedWorksheet As Worksheet Dim value As T value = instance.AddFromCells(Of T)(startRowId, startColumnId, endRowId, endColumnId, relatedWorksheet)
public T AddFromCells<T>( int startRowId, int startColumnId, int endRowId, int endColumnId, Worksheet relatedWorksheet ) where T: new(), Series
Parameters
- startRowId
The Id of the first Row in the CellRange.
The value must be greater than or equal to 0.
- startColumnId
The Id of the first Column in the CellRange.
The value must be greater than or equal to 0.
- endRowId
The Id of the last Row in the CellRange.
The value must be greater than or equal to 0.
- endColumnId
The Id of the last Column in the CellRange.
The value must be greater than or equal to 0.
- relatedWorksheet
The Worksheet where the targeted Rows & Columns can be found.
When this is set to null, the Worksheet hosting the targeted SeriesCollection is used.
Type Parameters
- T
- The type of Series that will be added to the SeriesCollection.